package com.zhonghui.common.eshopDto;

import com.zhonghui.common.eshopDomain.StorePink;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

public class PinkUserDto {
    @ApiModelProperty("拼团的团员信息")
    private List<StorePink> pinkAll;
    @ApiModelProperty("单个拼团信息")
    private StorePink pinkT;
    @ApiModelProperty("拼团id集合")
    private List<Long> idAll;
    @ApiModelProperty("拼团用户id集合")
    private List<Long> uidAll;
    @ApiModelProperty("还差几人成团")
    private Integer count;

    public static PinkUserDto.PinkUserDtoBuilder builder() {
        return new PinkUserDto.PinkUserDtoBuilder();
    }

    public List<StorePink> getPinkAll() {
        return this.pinkAll;
    }

    public StorePink getPinkT() {
        return this.pinkT;
    }

    public List<Long> getIdAll() {
        return this.idAll;
    }

    public List<Long> getUidAll() {
        return this.uidAll;
    }

    public Integer getCount() {
        return this.count;
    }

    public void setPinkAll(final List<StorePink> pinkAll) {
        this.pinkAll = pinkAll;
    }

    public void setPinkT(final StorePink pinkT) {
        this.pinkT = pinkT;
    }

    public void setIdAll(final List<Long> idAll) {
        this.idAll = idAll;
    }

    public void setUidAll(final List<Long> uidAll) {
        this.uidAll = uidAll;
    }

    public void setCount(final Integer count) {
        this.count = count;
    }

    public PinkUserDto(final List<StorePink> pinkAll, final StorePink pinkT, final List<Long> idAll, final List<Long> uidAll, final Integer count) {
        this.pinkAll = pinkAll;
        this.pinkT = pinkT;
        this.idAll = idAll;
        this.uidAll = uidAll;
        this.count = count;
    }

    public PinkUserDto() {
    }

    public static class PinkUserDtoBuilder {
        private List<StorePink> pinkAll;
        private StorePink pinkT;
        private List<Long> idAll;
        private List<Long> uidAll;
        private Integer count;

        PinkUserDtoBuilder() {
        }

        public PinkUserDto.PinkUserDtoBuilder pinkAll(final List<StorePink> pinkAll) {
            this.pinkAll = pinkAll;
            return this;
        }

        public PinkUserDto.PinkUserDtoBuilder pinkT(final StorePink pinkT) {
            this.pinkT = pinkT;
            return this;
        }

        public PinkUserDto.PinkUserDtoBuilder idAll(final List<Long> idAll) {
            this.idAll = idAll;
            return this;
        }

        public PinkUserDto.PinkUserDtoBuilder uidAll(final List<Long> uidAll) {
            this.uidAll = uidAll;
            return this;
        }

        public PinkUserDto.PinkUserDtoBuilder count(final Integer count) {
            this.count = count;
            return this;
        }

        public PinkUserDto build() {
            return new PinkUserDto(this.pinkAll, this.pinkT, this.idAll, this.uidAll, this.count);
        }

        public String toString() {
            return "PinkUserDto.PinkUserDtoBuilder(pinkAll=" + this.pinkAll + ", pinkT=" + this.pinkT + ", idAll=" + this.idAll + ", uidAll=" + this.uidAll + ", count=" + this.count + ")";
        }
    }
}
